<?php

namespace CMBUBank\Http;

class RequestParameter extends Request
{

    /**
     * response
     * @var string $response
     */
    protected $response = '';

    protected $method = 'POST';

    /**
     * function code
     * @var string $code
     */
    protected $code = '';

    protected $requestId = '';

    /**
     * 请求参数
     * @var array|string
     */
    protected $parameter;

    public function getParameter()
    {
        return $this->parameter;
    }

    public function setParameter($parameter)
    {
        $this->parameter = $parameter;
    }

    public function getResponse(): string
    {
        return $this->response;
    }

    public function getMethod(): string
    {
        return $this->method;
    }

    public function generate(): array
    {
        return [];
    }

    public function getFunCode(): string
    {
        return $this->code;
    }

    public function getRequestId(): string
    {
        return $this->requestId;
    }

    public function setRequestId(string $requestId): void
    {
        $this->requestId = $requestId;
    }


}
